package com.ddf.publics.entity;

import java.io.Serializable;

/**
 * (UserAddress)实体类
 *
 * @author makejava
 * @since 2020-06-28 10:25:09
 */
public class UserAddress implements Serializable {
    private static final long serialVersionUID = 961605943593188951L;
    /**
    * 我的地址id
    */
    private Integer id;
    /**
    * 用户的收货名称
    */
    private String userName;
    /**
    * 用户id
    */
    private Integer userId;
    /**
    * 区域
    */
    private String address;
    /**
    * 详细地址
    */
    private String detailedAddress;
    /**
    * 收货联系方式
    */
    private String phone;
    /**
    * 是否默认（1：默认，0：不是默认）
    */
    private Integer state;
    
    private Integer provid;
    
    private Integer cityid;
    
    private Integer areaid;

    @Override
    public String toString() {
        return "UserAddress{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", userId=" + userId +
                ", address='" + address + '\'' +
                ", detailedAddress='" + detailedAddress + '\'' +
                ", phone='" + phone + '\'' +
                ", state=" + state +
                ", provid=" + provid +
                ", cityid=" + cityid +
                ", areaid=" + areaid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getProvid() {
        return provid;
    }

    public void setProvid(Integer provid) {
        this.provid = provid;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public Integer getAreaid() {
        return areaid;
    }

    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }

}